package com.yida.wy.vote.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author lqq
 * @date 2023-03-10
 */
@ApiModel("投票项目统计基础表决项数据输出")
public class WyVoteProjectStatisticsItemDataDTO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("投票项名称")
	private String itemName;

	@ApiModelProperty("投票项ID")
	private Long itemId;

	@ApiModelProperty("得票权数（建筑面积）㎡")
	private BigDecimal totalSize;

	@ApiModelProperty("面积占比")
	private BigDecimal totalSizePercent;

	@ApiModelProperty("赞同人数")
	private Integer agreeOwnerCount;

	@ApiModelProperty("赞同人数占比")
	private BigDecimal agreePercent;

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public Long getItemId() {
		return itemId;
	}

	public void setItemId(Long itemId) {
		this.itemId = itemId;
	}

	public BigDecimal getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(BigDecimal totalSize) {
		this.totalSize = totalSize;
	}

	public BigDecimal getTotalSizePercent() {
		return totalSizePercent;
	}

	public void setTotalSizePercent(BigDecimal totalSizePercent) {
		this.totalSizePercent = totalSizePercent;
	}

	public Integer getAgreeOwnerCount() {
		return agreeOwnerCount;
	}

	public void setAgreeOwnerCount(Integer agreeOwnerCount) {
		this.agreeOwnerCount = agreeOwnerCount;
	}

	public BigDecimal getAgreePercent() {
		return agreePercent;
	}

	public void setAgreePercent(BigDecimal agreePercent) {
		this.agreePercent = agreePercent;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("VoteProjectStatisticsItemDataDTO{");
		sb.append("itemName='").append(itemName).append('\'');
		sb.append(", itemId=").append(itemId);
		sb.append(", totalSize=").append(totalSize);
		sb.append(", voteNumPercent=").append(totalSizePercent);
		sb.append(", agreeOwnerCount=").append(agreeOwnerCount);
		sb.append(", agreePercent=").append(agreePercent);
		sb.append('}');
		return sb.toString();
	}
}
